<?PHP
class Template
{
  public static function show($fileName, $args)
  {
	 global $templatesPath;
	 if (method_exists($args, "exportVars"))
	 {
		extract($args->exportVars());
	 }
	 else
	 {
		extract($args);
	 }

	 include("${templatesPath}/Templates/${fileName}.tpl.php");
  }
}
